/**
 * Created by LeungZ on 2016/3/22.
 */
let services = require.context("./", true, /.srv.js$/);

export default angular.module("ctg.service",[])
    .factory('commonSrv',services("./common.srv.js").default.factory)
    .service('alarmSrv',services("./alarm.srv.js").default)
    .service('userSrv',services("./user.srv.js").default)
    .service('nodeSrv',services("./k8s/node.srv.js").default)
    .service('podSrv',services("./k8s/pod.srv.js").default)
    .service('serviceSrv',services("./k8s/service.srv.js").default)
    .service('clusterSrv',services("./k8s/cluster.srv.js").default)
    .service('imageSrv',services("./image.srv.js").default)
    .service('appSrv',services("./app.srv.js").default)
    .service('LesseeSrv',services("./k8s/lessee.srv.js").default)
    .name;